import java.util.Scanner;
public class main{
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        int a;
        while (input.hasNextInt()) {
            a = input.nextInt();
            if ((a % 400 == 0) || (a % 4 == 0 && a % 100 != 0)) {
                System.out.println("是闰年");
            } else {
                System.out.println("不是闰年");
            }
        }
    }

}
